package com.jet.merchant.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2025-02-14
 */
@Getter
@Setter
@TableName("m_merchant")
public class Merchant implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "merchant_no", type = IdType.INPUT)
    private Long merchantNo;

    private String accountId;

    private String merchantName;

    private String province;

    private String city;

    private String area;

    private String address;

    private String agentId;

    @TableField(fill = FieldFill.INSERT)
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    //    @ApiModelProperty("邀请码")
    private String code;

    //    @ApiModelProperty("注册来源")
    private Integer source;

    private String pcLogo;

    private String mobileLogo;

    //    @ApiModelProperty("商户类型(0:普通商户，1:体验商户)")
    private Integer type;
}
